<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/3/9
  Time: 17:44
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="../../common/web_top.jsp" %>
<div class="bgSortScroll">
    <div class="public-bgContent">
        <div class="public-bgDate">
                            <span><input type="text" autocomplete="off" id="start_time" class="datepicker"
                                         ng-focus="remHight()"
                                         ng-class="{'error':redErr.dateTime}" placeholder="开始时间"
                                         ng-model="param.beginTime"
                                         class="ng-pristine ng-untouched ng-valid ng-empty"><i
                                    class="iconfont icon-riqi"></i></span>
            <em>&nbsp;&nbsp;~&nbsp;&nbsp;</em>
            <span><input type="text" autocomplete="off" id="end_time" class="datepicker" ng-focus="remHight()"
                         ng-class="{'error':redErr.dateTime}" placeholder="结束时间"
                         ng-model="param.endTime" class="ng-pristine ng-untouched ng-valid ng-empty"><i
                    class="iconfont icon-riqi"></i></span>
            <div class="se-re">
                <select id="product_name_key"
                        class="ng-valid ng-not-empty ng-dirty ng-valid-parse ng-touched" autocomplete="off">
                    <option value="" selected="selected">选择字段&nbsp;&nbsp;</option>
                    <option value="1">产品名称</option>
                    <option value="2">公司名称</option>
                </select>
                <span class="se-po"></span>
            </div>
            <span>
                            <input type="text" autocomplete="off" id="product_name" placeholder="请输入关键字"
                                   ng-focus="remHight()"
                                   ng-model="param.keyword"
                                   class="ng-pristine ng-valid ng-empty ng-touched">
                        </span>
            <button type="button" id="sousuo">
                <i class="iconfont icon-sousuo"></i>
            </button>
        </div>
        <div class="public-bghint">
                <span ng-click="showMenu()" style="cursor: pointer;">提示操作&nbsp;&nbsp;<i
                        class="iconfont icon-icon-copy-copy"></i></span>
            <span class="calNum">筛选<span class="result "></span>条结果</span>
        </div>
        <ul class="public-ulList" ng-show="isMenu" ng-transclude="content">
            <menu-content class="">
                <li>显示拥有该栏目管理权限的数据；</li>
                <li>拥有权限的管理员会显示对应的操作按钮；</li>
                <li>业务员，只允许查看自己订单录入的数据，不能够查看到其他业务员的数据；</li>
                <li>业务组长，可以查看到所辖业务员的所有数据；</li>
            </menu-content>
        </ul>
        <div style="height: 20px;"></div>
        <div class="table-scroll">
            <table class="table public-table PoInput">
                <thead>
                <tr>
                    <td>选择</td>
                    <td>创建时间</td>
                    <td>文件名称</td>
                    <td>文件大小</td>
                    <%--<td>合同名称</td>--%>
                    <%--<td>所属公司</td>
                    <td>状态</td>--%>
                    <td>操作</td>
                </tr>
                </thead>
                <tbody id="file_list">

                </tbody>
            </table>
        </div>

        <script type="text/x-handlebars-template" id="file_list_tpl">
            {{#if this.[0]}}
            {{#each this}}
            <!-- ngRepeat: i in dataList.list -->
            <tr class="table-tr-hover ">
                <td ng-if="!operation.examine" class="">
                    <input type="checkbox" name="ch_id" value="{{id}}">
                </td>
                <td>
                    {{create_time}}
                </td>
                <!-- ngIf: !operation.examine -->
                <td ng-if="!operation.examine" class="">
                    {{fileName}}
                </td><!-- end ngIf: !operation.examine -->
                <td>{{fileSize}}</td>
                <%--<td>{{contract_name}}</td>--%>
                <%--{{#if d_name2}}
                <td class="">{{d_name2}}&gt;&nbsp;{{d_name}}</td>
                {{else}}
                <td class="">{{d_name}}</td>
                {{/if}}
                {{#IF_EQ state 1}}
                <td class="">启用</td>
                {{/IF_EQ}}
                {{#IF_EQ state -1}}
                <td class="">停用</td>
                {{/IF_EQ}}--%>
                <td>
                    <div class="se-re sel-blue">
                        <select class="tabHint operations" autocomplete="off" product_id="{{id}}"
                                workflow_id="{{workflow_id}}" product_name="{{product_name}}">
                            <option value="0" selected>选择操作</option>
                            <option value="1">编辑</option>
                            {{#IF_EQ state -1}}
                            <option value="4" data-state="1">启用</option>
                            {{/IF_EQ}}
                            {{#IF_EQ state 1}}
                            <option value="4" data-state="-1">停用</option>
                            {{/IF_EQ}}
                            <option value="6" data-state="-1">删除</option>
                            <option value="2">设置流程</option>
                            <option value="3">表单设计</option>
                            <option value="5" data-id="{{id}}">添加附件</option>

                        </select>
                        <span class="se-po-blue"></span>
                    </div>
                    <button id="{{id}}"
                            class="operations_record tabHint btnQuery524">
                        操作记录
                    </button>
                </td>
            </tr>
            {{/each}}
            {{else}}
            <tr class="">
                <td colspan="16">暂时找不到数据</td>
            </tr>
            {{/if}}
        </script>

        <div class="public-botPage">
            <!-- ngIf: operation.batch -->
            <div class="public-botPage-left " ng-if="operation.batch">
                <label id="ch_id_all">
                    &nbsp;&nbsp;&nbsp;<input type="checkbox" name="ch_id_all"
                                             ng-click="F.ch_id_all($event,'ch_id')">
                    &nbsp;全选
                </label>
                <div class="se-re">
                    <select id="bulk_operation" autocomplete="off"
                            class="tabHint PoListSele ng-pristine ng-untouched ng-valid ng-not-empty"
                            ng-model="selectType.default" ng-change="F.selectQuery('PoListSele','ch_id')">
                        <option value="" selected="selected">批量操作</option>
                        <option value="删除" path="loanBefore" params="delePo" param="type:2"
                                ng-if="HbHr.hr57 &amp;&amp; operation._type =='orderList'" class="">
                            删除所选
                        </option><!-- end ngIf: HbHr.hr57 && operation._type =='orderList' -->
                        <option value="启用">启用</option>
                        <option value="停用">停用</option>
                    </select>
                    <span class="se-po"></span>
                </div>
                <!-- ngIf: HbHr.hr58 && operation._type=='orderList' -->
                <button class="tabHint " id="upload">
                    文件上传
                </button><!-- end ngIf: HbHr.hr58 && operation._type=='orderList' -->
            </div><!-- end ngIf: operation.batch -->
            <div class="page-container product-page-container" style="float: right; padding: 15px 0;"></div>
        </div>
    </div>
</div>







<link href="static/css/viewer.css" rel="stylesheet"/>
<script type="text/javascript" src="static/plugins/ueditor/ueditor.config.js?_v=190102162154"></script>
<script type="text/javascript" src="static/plugins/ueditor/ueditor.all.js?_v=190102162154"></script>
<script type="text/javascript" src="static/js/page/OperaManager/cloudSave/cloudSave.js?_v=190102162154"></script>
<script type="text/javascript" src="static/js/jquery-plugin/jpager.js?_v=190102162154"></script>
<script type="text/javascript" src="static/js/jquery-plugin/viewer-fake.js?_v=190102162154"></script>

<%@ include file="../../common/web_bottom.jsp" %>
